package com.itmayiedu.hystrix;

import com.itmayiedu.service.FeignService;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Devin on 2018/2/4.
 */
@Component
public class HystrixClientService implements FeignService {
    @Override
    public String hi(@RequestParam("name") String name) {
        return "feign...name="+name+"调用接口失败";
    }
}
